import axios from 'axios'
// 消息列表
export const reqNewsList = (data)=>
axios({
  url:'/api/crm/news/condition',
  method:'get',
  params:data
});
// 新增消息
export const reqAddNews = (data)=>
axios({
  url:'/api/crm/news/insert',
  method:'post',
  data:data
});
// 删除消息
export const reqDelNews= (data)=>
axios({
  url:'/api/crm/news/delete',
  method:'delete',
  data:data
});
// 修改消息
export const reqUpdataNews= (data)=>
axios({
  url:'/api/crm/news/update',
  method:'put',
  data:data
});